home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / education / e078.dms / e078.adf / BEZIER / poster < prev    next >
Text File  |  1991-08-31  |  4KB  |  124 lines

  1. The following postings accompanied the three bezier related programs on
  2. this disk.
  3.  
  4. Note that the bouncing bezier was renamed BezierB, to distiguish it from
  5. the regular one.  It is best run from the CLI if you want to enter the
  6. parameters for bouncing.
  7.  
  8. Enjoy - EdLib Aug '91
  9.  
  10.  
  11. ****************************************************************************
  12.  
  13.  
  14. Article 4522 of comp.sys.amiga:
  15. Path: mcdsun!noao!hao!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon
  16. From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
  17. Newsgroups: comp.sys.amiga
  18. Subject: BEZIER CURVES EXAMPLE (executable + source)
  19. Message-ID: <8705102037.AA25960@cory.Berkeley.EDU>
  20. Date: 10 May 87 20:37:05 GMT
  21. Sender: daemon@ucbvax.BERKELEY.EDU
  22. Lines: 504
  23.  
  24.  
  25.         Here is a little program I wrote to fool around with Bezier curves.  It
  26. allows you to fool around with a 4 point bezier curve, using the mouse to move
  27. the points, and using a prop gadget to change the granularity of the
  28. curve generation loop.  A granualarity of about 40 is almost indestinguishable
  29. from a granularity of 1, and draws the curve 40 times faster (as in, **fast**)
  30.  
  31.                                 Have Fun!
  32.  
  33.                                 -Matt
  34.  
  35. ****************************************************************************
  36.  
  37.  
  38. Article 4526 of comp.sys.amiga:
  39. Path: mcdsun!noao!hao!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon
  40. From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
  41. Newsgroups: comp.sys.amiga
  42. Subject: Splurge #3 ... Bouncing Beziers
  43. Message-ID: <8705110627.AA22443@cory.Berkeley.EDU>
  44. Date: 11 May 87 06:27:18 GMT
  45. Sender: daemon@ucbvax.BERKELEY.EDU
  46. Lines: 624
  47.  
  48.  
  49.         Oh what the hell..  Here's Bezier again, but this time I've added
  50. an automation option... you can watch the Bezier curve bounce all over its
  51. window by specifying a random seed:
  52.  
  53.         bezier [seed [delay]]
  54.  
  55.         example:
  56.                 bezier 24
  57.  
  58.         If you don't want it to run continuously, you can specify a delay
  59. (passed directly to Delay()):
  60.  
  61.                 bezier 24 10
  62.  
  63.         Otherwise, if you give it no arguments, it allows you to play with the
  64.         bezier curve like in my first posting.
  65.  
  66. P.S.  running it on automatic 'bezier #', and setting the granularity to
  67. about 40 looks very impressive....  I've found it somewhat appeasing to have
  68. running on my workbench screen.  I also optimized the source quite a bit.
  69.  
  70.                         -Matt
  71.  
  72. ****************************************************************************
  73.  
  74. Article 4591 of comp.sys.amiga:
  75. Path: mcdsun!noao!hao!gatech!seismo!esosun!ucsdhub!sdcsvax!ucbvax!CORY.BERKELEY.EDU!dillon
  76. From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
  77. Newsgroups: comp.sys.amiga
  78. Subject: Super Splurge: BEZIER CUBIC SURFACES! (source and executable)
  79. Message-ID: <8705130658.AA24676@cory.Berkeley.EDU>
  80. Date: 13 May 87 06:58:05 GMT
  81. Sender: daemon@ucbvax.BERKELEY.EDU
  82. Lines: 899
  83.  
  84.  
  85.         For those of you who don't know what a Bezier Cubic surface is, it's
  86. a way of defining a curved surface in 3D.  The Bezier Cubic uses 16 control
  87. points to define the surface.
  88.  
  89.         The mouse control is somewhat trickier than my previous postings,
  90. so I added a '?' gadget that you can click on to get help.
  91.  
  92.         I fear that many of you will not appreciate the speed that this thing
  93. updates in the window when you move control points around.  Just keep in mind
  94. the fact that the algorithm is basically n^2 where n is the granularity, and
  95. involves a *huge* amount of matrix algebra to boot.  The source is incredibly
  96. optimized (though I didn't resort to assembly language), and only those
  97. who are familar with Hermite/Bezier/Bspline surfaces will understand what
  98. I did to get the speed.
  99.  
  100.         Feel free to add automation and other bells and whistles!!
  101.  
  102.                                 -Matt
  103.  
  104.  
  105. Article 4599 of comp.sys.amiga:
  106. Path: mcdsun!noao!hao!oddjob!uwvax!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon
  107. From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
  108. Newsgroups: comp.sys.amiga
  109. Subject: Sorry... repost of BCUBIC (Bezier Cubic Surfaces)
  110. Message-ID: <8705131716.AA03272@cory.Berkeley.EDU>
  111. Date: 13 May 87 17:16:43 GMT
  112. Sender: daemon@ucbvax.BERKELEY.EDU
  113. Lines: 887
  114.  
  115.  
  116.         Sorry about the repost... the one I posted yesterday openned a window
  117. that extended past row 200 (which means it wouldn't work unless you were
  118. using morerows)... I didn't *mean* to do that, but didn't notice it because
  119. the NW.Height was set to 150 (But the top edge was set to 64.. whoops)
  120.  
  121.                         -Matt
  122.  
  123.  
  124.